Pronamic\WordPress\Pay\Extensions\RestrictContentPro\Extension B

Total Complexity 91
Dependencies 30
Dependents 0
Total lines 967
Lines of code 523
Logical lines of code 242
Comment lines 293
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
payment_status_update()
B
40 18 59
rcp_transition_membership_status()
A
39 11 73
new_payment()
A
43 6 50
update_payment()
S
51 6 26
rcp_membership_can_cancel()
S
57 6 19
get_account_page_url()
S
56 5 19
payment_redirect_url()
S
58 5 17
are_upgrades_executable()
S
57 4 17
get_gateways()
S
49 3 30
get_rcp_membership_from_payment()
S
58 3 16
plugins_loaded()
S
54 2 20
payment_source_url()
S
60 2 15
subscription_source_url()
S
60 2 15
rcp_edit_membership_after()
S
54 1 24
rcp_edit_payment_after()
S
54 1 24
subscription_source_text()
S
57 1 17
payment_source_text()
S
57 1 17
__construct()
S
59 1 15
rcp_membership_payment_profile_cancelled()
S
69 2 7
subscription_source_description()
S
67 2 8
payment_source_description()
S
67 2 8
payments_settings()
S
70 2 6
next_payment_delivery_date()
S
67 2 8
setup()
S
67 1 7
register_pronamic_gateways()
S
79 1 3
admin_init_upgrades_executable()
S
81 1 3